package io.renren.modules.sys.back.service.impl;


import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;

import io.renren.common.utils.PageUtils;

import io.renren.common.utils.Query;
import io.renren.modules.sys.back.dao.BtCustomerBaseDao;
import io.renren.modules.sys.back.entity.BtCustomerBaseEntity;
import io.renren.modules.sys.back.service.BtCustomerBaseService;
import org.springframework.stereotype.Service;
import io.renren.common.utils.Query;
import java.util.Map;


@Service("btCustomerBaseService")
public class BtCustomerBaseServiceImpl extends ServiceImpl<BtCustomerBaseDao, BtCustomerBaseEntity> implements BtCustomerBaseService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        Page<BtCustomerBaseEntity> page = this.selectPage(
                new Query<BtCustomerBaseEntity>(params).getPage(),
                new EntityWrapper<BtCustomerBaseEntity>());

        return new PageUtils(page);
    }
}
